package view;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Container;
import java.awt.Dimension;
import java.awt.FlowLayout;
import java.awt.Font;
import java.awt.GridLayout;
import java.io.File;
import java.util.Vector;

import javax.swing.*;

public class ActifPlayersPanel extends JPanel {
	private  Vector<ActifPlayerPanel> listActifPlayers = new Vector<ActifPlayerPanel>();
	public ActifPlayersPanel(){}
	public ActifPlayersPanel(Vector<ActifPlayerPanel> tab){
		//this.setPreferredSize(new Dimension(750,57));
		this.setLayout(new GridLayout(1,7));
		String path = System.getProperty("user.dir")+File.separator+"bin"+File.separator+"ressources"+File.separator;
		for(int i=0;i<tab.size();i++){
			listActifPlayers.add(tab.get(i));
			this.add(tab.get(i));
		}
		
		
	}
}
